package Sstring;

/**
 * int length()
 * 返回当前字符串的长度(字符个数)
 *
*/
 public class LengthDemo {
    public static void main(String[] args) {
        String line="我爱java!";
        int len=line.length();
        System.out.println("lengrh:"+len);
    }
}
